  <div rowspan="2" class="infos">
    <?php if(!$obj->is_delete): ?>

      <?php if($sf_user->isAuthenticated() && $sf_user->getGuardUser()->getId() == $obj->getUserId() && $nb_comments == $i):
          $record_model = $obj->getRecordModel() == 'News' ? 'actualités' : 'événements';
          $year = date("Y", strtotime($obj['updated_at']));
          $month = date("m", strtotime($obj['updated_at']));

          echo link_to( image_tag('/images/icons/edit.png', array( 'alt' => 'éditer', 'width' => '16', 'height' => '16' )),
                     url_for("@edit_comment?id=" . $obj->getId() . "&record_model=" . $record_model .
                             "&year=" . $year . "&month=" . $month . "&record_slug=" . $obj->getRecordSlug()),
                             array('title' => 'Editer ce commentaire'));
      endif; ?>

      <a href="#reply-comment" title="<?php echo __('Reply to this comment', array(), 'vjComment') ?>" onclick="<?php echo "reply('".$obj->getId()."','".$obj->getAuthor()."', '".$form_name."');" ?>">
        <?php echo image_tag('/vjCommentPlugin/images/comments.png', array( 'alt' => 'reply', 'width' => '16', 'height' => '16' )); ?>
      </a>
      <?php echo link_to(
            image_tag('/vjCommentPlugin/images/error.png', array( 'alt' => 'report', 'width' => '16', 'height' => '16' )), url_for('@comment_reporting?id='.$obj->getId().'&num='.$i),
//            'window.open(
//              \''.url_for('@comment_reporting?id='.$obj->getId().'&num='.$i).'\',
//              \''.__('Add new comment', array(), 'vjComment').'\',
//                "menubar=no, status=no, scrollbars=no, menubar=no, width=565, height=300")',
            array('title' => __('Report this comment - New window', array(), 'vjComment'), 'target' => '_blank' )) ?>
    <?php endif; ?>
  </div>